---
title: Brex (api key) - How do I link my account?
sidebarTitle: Brex (api key)
---

# Overview

To authenticate with Brex (api key), you will need:
1. **Api Token** - A key that grants Nango permission to interact with Brex APIs resources and services.

This guide will walk you through finding or generating the Api Token within Brex.

### Prerequisites:

- You must have a registered account with Brex.

### Instructions:

#### Step 1: Finding Your API Token
1. **Log in** to your Brex account as an account admin.
2. Go to **Developer** > **Settings**.
3. Click **Create Token**.
4. Create a **Name** for your token then choose what level of data access you need for your application; these are the **scopes** your token will have.
<img src="/integrations/all/brex-api-key/auth-create-token.png" style={{maxWidth: "450px" }}/>
5. The next screen will confirm your previous selections. Make sure it looks good, then click **Allow Access**.
<img src="/integrations/all/brex-api-key/auth-allow-access.png" style={{maxWidth: "450px" }}/>
6. Your token is now created.
<img src="/integrations/all/brex-api-key/auth-token.png" style={{maxWidth: "450px" }}/>

#### Step 2: Enter credentials in the Connect UI

Once you have your **API Token**:
1. Open the form where you need to authenticate with Brex (api key).
2. Enter the **API Token** in the designated field.
3. Submit the form, and you should be successfully authenticated.


<img src="/integrations/all/brex-api-key/form.png" style={{maxWidth: "450px" }}/>

You are now connected to Brex (api key).
